<span class="heading1">Welcome <?php echo $xistsUser->getUsername() ?> to Xists Control Panel</span>
<br />
<table id="user_form" style="width:100%" cellspacing="20">
  <tbody>
    <tr>
      <th colspan="2"><h2>Your Account Detail</h2></th>
    </tr>
	<tr>
      <th align="right">Investment Plan:</th>
      <td><?php echo $xistsUser->getXistsPlan() ?></td>
    </tr>
	<tr>
      <th align="right">Deposit amount:</th>
      <td><?php echo sfConfig::get('app_currency') ?> <?php echo $xistsUser->getDepositAmount() ?></td>
    </tr>
    <tr>
      <th align="right">Join date:</th>
      <td><?php echo $xistsUser->getJoinDate(sfConfig::get('app_date_format')) ?></td>
    </tr>
    <tr>
      <th align="right">Account expires at:</th>
      <td><?php echo $xistsUser->getPlanExpiresAt(sfConfig::get('app_date_format')) ?></td>
    </tr>
	<tr>
      <th align="right">Ref username:</th>
      <td><?php echo $xistsUser->getRefUsername() ?></td>
    </tr>
    <tr>
      <th align="right">Place under username:</th>
      <td><?php echo $xistsUser->getPlaceUnderUsername() ?></td>
    </tr>
    <tr>
      <th align="right">Join position:</th>
      <td><?php echo XistsUserPeer::$joinPostion[$xistsUser->getJoinPosition()] ?></td>
    </tr>
  </tbody>
</table>    
